-
Notifications
You must be signed in to change notification settings - Fork 6.4k
feat: extend postgres vector store with paradedb BM25 support #20024
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
llama-index-integrations/vector_stores/llama-index-vector-store-paradedb/README.md
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did this really need to copy paste 1K lines from the postgres integration vs. just subclassing it?
Yeah, i think you're right, i'm gonna redo it by subclassing pgvector to simplify, thanks for the feedback |
Description
This PR introduces the ParadeDB vector store integration, extending the PostgreSQL-based store to support BM25 + vector search using ParadeDB.
This implementation is based on llama-index-vector-stores-postgres, and has been refactored to inherit directly from
PGVectorStore
, reducing duplicated logic and ensuring full compatibility with the PostgreSQL backend.It also supports for custom query execution, enabling advanced hybrid retrieval use cases through ParadeDB’s enhanced search engine.
This PR:
pg_search
extension.PGVectorStore
while overriding BM25-specific behavior.README.md
with instalation.Fixes
Fixes #
(or leave blank if this is a new feature without a linked issue)
New Package?
llama-index-vector-stores-paradedb
A detailed
README.md
was added with usage examples, setup instructions, and integration notes.The
tool.poetry.dependencies.llama-index-vector-stores-postgres
reference is also declared inpyproject.toml
.Version Bump
0.1.0
Type of Change
How Has This Been Tested?
ts_vector
vsBM25
ranking resultspytest
) pass successfullyExample Output
Suggested Checklist
README.md
)uv run ruff check --fix .
anduv run ruff format .
to appease the lint godsSummary